CVE-2025-32795
Dify Allows Insecure User Role Access Control for APP Editing
Description
Dify is an open-source LLM app development platform. Prior to version 0.6.12, a vulnerability was identified in the DIFY where normal users are improperly granted permissions to edit APP names, descriptions and icons. This access control flaw allows non-admin users to modify app details, despite being restricted from viewing apps, which poses a security risk to the integrity of the application. This issue has been patched in version 0.6.12. A workaround for this vulnerability involves updating the access control mechanisms to enforce stricter user role permissions and implementing role-based access controls (RBAC) to ensure that only users with admin privileges can modify app details.
INFO
Published Date :
April 18, 2025, 4:15 p.m.
Last Modified :
June 19, 2025, 12:25 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update Dify to version 0.6.12 or later.
- Review and strengthen access control for user roles.
- Implement role-based access controls (RBAC).
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-32795.
                                        
| URL | Resource | 
|---|---|
| https://github.com/langgenius/dify/pull/5266 | Issue Tracking Vendor Advisory | 
| https://github.com/langgenius/dify/security/advisories/GHSA-gg5w-m2vw-vmmj | Exploit Vendor Advisory Mitigation | 
| https://github.com/langgenius/dify/security/advisories/GHSA-gg5w-m2vw-vmmj | Exploit Vendor Advisory Mitigation | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-32795 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-32795
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-32795 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2025-32795 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Jun. 19, 2025 Action Type Old Value New Value Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:* versions up to (excluding) 0.6.12 Added Reference Type GitHub, Inc.: https://github.com/langgenius/dify/pull/5266 Types: Issue Tracking, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/langgenius/dify/security/advisories/GHSA-gg5w-m2vw-vmmj Types: Exploit, Mitigation, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/langgenius/dify/security/advisories/GHSA-gg5w-m2vw-vmmj Types: Exploit, Mitigation, Vendor Advisory 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Apr. 18, 2025 Action Type Old Value New Value Added Reference https://github.com/langgenius/dify/security/advisories/GHSA-gg5w-m2vw-vmmj 
- 
                            New CVE Received by [email protected]Apr. 18, 2025 Action Type Old Value New Value Added Description Dify is an open-source LLM app development platform. Prior to version 0.6.12, a vulnerability was identified in the DIFY where normal users are improperly granted permissions to edit APP names, descriptions and icons. This access control flaw allows non-admin users to modify app details, despite being restricted from viewing apps, which poses a security risk to the integrity of the application. This issue has been patched in version 0.6.12. A workaround for this vulnerability involves updating the access control mechanisms to enforce stricter user role permissions and implementing role-based access controls (RBAC) to ensure that only users with admin privileges can modify app details. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Added CWE CWE-284 Added Reference https://github.com/langgenius/dify/pull/5266 Added Reference https://github.com/langgenius/dify/security/advisories/GHSA-gg5w-m2vw-vmmj 
 
                         
                         
                         
                                             
                                            